import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
// import App from '@/pages/account'
import { ConfigProvider } from 'antd'
// 引入Ant Design中文语言包
import zhCN from 'antd/locale/zh_CN'
import { RouterProvider } from 'react-router-dom'
import { globalRouters } from './router/index.tsx'
import { Provider } from 'react-redux'
import { store } from './store'
import './mock.ts'
import './App.css'
createRoot(document.getElementById('root')!).render(
  <Provider store={store}>
    <ConfigProvider locale={zhCN}>
      <StrictMode>
        {/* <App /> */}
        <RouterProvider router={globalRouters} />
      </StrictMode>
    </ConfigProvider>
  </Provider>


)
